package com.gjw.designpattern.proxy.staticProxy;

/**
 * 代理对象
 */
public class WeddingCompany implements IMarry{

    private Person person = null;

    WeddingCompany(Person person){
        this.person = person;
    }


    @Override
    public void marry() {
        System.out.println("婚庆公司布置现场");
        person.marry();
        System.out.println("结完婚收尾款啦");
    }
}
